<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="fam.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.fam.html">FAM 函数</a></div>
 <div class="up"><a href="book.fam.html">FAM</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="fam.constants" class="appendix">
 <h1>预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 <table class="doctable table">
  <caption><strong>FAM event constants</strong></caption>
   
    <thead>
     <tr>
      <th>Constant</th>
      <th>Description</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr id="constant.famchanged">
      <td>
       <strong><code>FAMChanged</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </td>
      <td>
       Some value which can be obtained with fstat(1) changed for a
       file or directory.
      </td>
     </tr>

     <tr id="constant.famdeleted">
      <td>
       <strong><code>FAMDeleted</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </td>
      <td>A file or directory was deleted or renamed.</td>
     </tr>

     <tr id="constant.famstartexecuting">
      <td>
       <strong><code>FAMStartExecuting</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </td>
      <td>An executable file started executing.</td>
     </tr>

     <tr id="constant.famstopexecuting">
      <td>
       <strong><code>FAMStopExecuting</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </td>
      <td>An executable file that was running finished.</td>
     </tr>

     <tr id="constant.famcreated">
      <td>
       <strong><code>FAMCreated</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </td>
      <td>A file was created in a directory.</td>
     </tr>

     <tr id="constant.fammoved">
      <td>
       <strong><code>FAMMoved</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </td>
      <td>This event never occurs.</td>
     </tr>

     <tr id="constant.famacknowledge">
      <td>
       <strong><code>FAMAcknowledge</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </td>
      <td>
       An event in response to <span class="function"><a href="function.fam-cancel-monitor.html" class="function">fam_cancel_monitor()</a></span>.
      </td>
     </tr>

     <tr id="constant.famexists">
      <td>
       <strong><code>FAMExists</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </td>
      <td>
       An event upon request to monitor a file or directory. When a
       directory is monitored, an event for that directory and every file
       contained in that directory is issued.
      </td>
     </tr>

     <tr id="constant.famendexist">
      <td>
       <strong><code>FAMEndExist</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
      </td>
      <td>Event after the last FAMEExists event.</td>
     </tr>

    </tbody>
   
  </table>

 </div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="fam.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.fam.html">FAM 函数</a></div>
 <div class="up"><a href="book.fam.html">FAM</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
